package com.cy.aircompressor.entity.sensor;

import com.cy.aircompressor.entity.linechart.LineChartEntry;

import java.util.List;

public class SensorBgg {
    private Sensor sensor;
    private List<SensorStatisticsData> sensorStatisticsData;
    private LineChartEntry xLineChartEntry;
    private LineChartEntry yLineChartEntry;
    private LineChartEntry zLineChartEntry;

    public Sensor getSensor() {
        return sensor;
    }

    public void setSensor(Sensor sensor) {
        this.sensor = sensor;
    }

    public List<SensorStatisticsData> getSensorStatisticsData() {
        return sensorStatisticsData;
    }

    public void setSensorStatisticsData(List<SensorStatisticsData> sensorStatisticsData) {
        this.sensorStatisticsData = sensorStatisticsData;
    }

    public LineChartEntry getxLineChartEntry() {
        if (xLineChartEntry == null)
            xLineChartEntry = new LineChartEntry();
        return xLineChartEntry;
    }

    public void setxLineChartEntry(LineChartEntry xLineChartEntry) {
        this.xLineChartEntry = xLineChartEntry;
    }

    public LineChartEntry getyLineChartEntry() {
        if (yLineChartEntry == null)
            yLineChartEntry = new LineChartEntry();
        return yLineChartEntry;
    }

    public void setyLineChartEntry(LineChartEntry yLineChartEntry) {
        this.yLineChartEntry = yLineChartEntry;
    }

    public LineChartEntry getzLineChartEntry() {
        if (zLineChartEntry == null)
            zLineChartEntry = new LineChartEntry();
        return zLineChartEntry;
    }

    public void setzLineChartEntry(LineChartEntry zLineChartEntry) {
        this.zLineChartEntry = zLineChartEntry;
    }
}
